fixing register button