fixed small bug on the pack