fix installation errors