syntax and inventory fixes