fix bug when user is not found