added breadcrumb support and fixed bug from subdirectory support