Fixed some installation errors