fixed installation bugs