fixed a bug in PortfolioManager's recursive print method