fixed error when platform is not supported