registration flow fixed