bugfix select current platform