fixed null wave bug