Fix bug during add of new items