fix user generation