fixed format problem with registation form