Fix debug level bug for installer