fixes for several bugs in the ePortfolio