fixing the main-installation-directory