fixing bugs with installation