Pitfalls in just-in-time practices affecting supply chain