Fix wrong frequency for waves