note freq bug fix