fix garbage disapear when wave is over