'not updating item reference after 1st item reference is created' bug fixed