make objstore work properly