fix issues with freq change