fixing some installation problems