fixed wave speed error