Remove bag code