fix register button