fixed some issues with portfolio
removed some unneeded code