fix platform tool