fixed issue with index.md if you are in folder