fix error if no user is found