fixed a few bugs with freq addition