fixed issue with docs in subfolders not working