fixed up portfolios... more bug fixes (but of course)