fixed error in step one registration