fix platform bits