fix register btn