fix platform and cloud