Fix problem regarding pallet