BUG: fixed small bugs in installer