frequency cleanup