fixed bug crash of only supporting works