Revert "small change in the template of WAM module"... it wasn't small at all... it's broken Marcin's stuff

This reverts commit fb400cc4cbe607c9b275dcf4adb2d33a55269c43.