fix register token view