fix pip check bug