fix tryReload uses correct index
fix test Use absolute path