Added open inventory prevention