Minor fix to get rid of error message on registration form