return to main directory fix