fixing item that are deleted