fix fault when exclude runtime support