added error dir