Small fix at bag_problem