fixed crash of scale9