Fix main paths