fix sw package and cc folder checking