increased robustness against broken cache files