resolve nill user issue