switch platform fix