Fix pantry bug