fixes issue on user create