fixing bug with install_dir