fix crash bug when no title (no header line)
fix subdir index relative path bug. new Markdown version.