fixed potential block error when looking for language file