improved item location status logic