fixed crash on file not found