testing for bad item before pulling values from it in move_item