fix Portfolio class