fix problems with files being needlessly re-analysed at startup