fix register modal