fixing possible user creation issue