adapting to an internal change in Confluence 5