wave bug fix