Fix a bug of path for local settings