custom portlet fix