fix patch check so that cached stuff gets reevaluated