fixed the replaceSrcPackage