Clean up inventory template