fix config file relative to the local path