Fix bug in path