[web] fix register