marshall not pack
handle some corner cases