Fixed ItemBase and ItemDebug

Fixed items classes to accomodate last commit