removing err directory