path to main corrected