fix errors in installer