fixed bug where you couldn't view an empty portfolio, god I need to add testing