fixed bug in installer