fixed get_framework to show the name of the input framework in exception