catch when there are no docs