a few fixes in wave step
Merge branch 'master' of https://github.com/eddyz87/pfci4102