fixed bug in installer

Signed-off-by: bislewl <bislewl@gmail.com>