fix bug in installer.