Empty pickle added
Insert empty object into pickle
Fixed mismatched types bug