simplify cache ceck