one more bugfix for nonexistent files