Attempted to fix pantry bug.