fix the framework error