Fix main path.