fix on register.html/js