fix register success error