Fixed problem with loading dirtree.