fixed pickled bug