Fix main directory