fixed bug in adding item, have buggy sharing