fix frequency errors
Merge pull request #18 from grosser/master

fix frequency errors