fix bug in installer