fixed cp warnings when building packages