fix getInstallDir invocation