applying workaround to supplement for pickle not working