fix bug in new item