Try to fix gateswith serverstep code.
Merge pull request #144 from Novatux/gates-fix

Fix gates with serverstep code.
Let's give that a try.