fix: unfunctioned PIP after refactoring