fix .cq file copy