fixed some installation problems