fixed platform selector error.