fixing bug where frequency wouldn't monitor properly