catches not found errors