Fix wave pattern