fixed problems with the portfolio rendering