fix path to relative in index