fix platform bootstrap