fix source wave type
common changes