fixed further errors in ItemController persist method