fixed some mistakes, skipping the beginning of the bag