Changing the way we run pallet which fixes the problems. Still don't know why.