fix framework disabled