fixed anvil NPE when clicking on the plans button with no input items.