fix user being null