fix crucial files check