Clear the platform instance every time