fix mkwave error