fixed for pickle