fixed .getPlatforms()