fix register ui