fixed ar cache check