avoinding crash when file/histo does not exist