Fixed IP to ravel occupancy output