fixing an NPE
rudimentary item health system and bug fixes