fix type of wave