fixed to be slightly more backward compat, still won't work on Plone <
4.1