fix plone4.0 compatibility