fix copy framework error