fixed cp doc rule for dist