fixed strange ass issue with the register button