patch register.php

patching few bugs