fixes issue with first name and last name on registration