Fix issues with frequency