Fix issue #403

hack around items needing library and id references since 238e743