frequency masking bug fix