fixed pickling bug for lite