fix the framework