fix packing for different types
fix deleted test