Fix bug with relative path