fix for waves