fix invalid platform name