fixed crash on missing file