fixed some register.xhtml