Portfolio loading error bug fixing part2