update two more instances where we were logging undefined