fix bug in ship_move confusing oids with indexes