Fixed Registration hack
Merge pull request #422 from Shadowss/patch-90

Fixed Registration hack