improve revdep check