fix register methods