fix Plone 4.0.x compatibility