removal of display items if removed from input