fix problem when the user doesnt have emails