don't render the contents of a directory more than once