fix remaining broken python packages due to refactoring