main page wave fix