fixed problem in user generator