Fix main p