fixed a log message
fixed Integer comparison problem
fixed Integer comparison problem
avoid createInventory at startup