fix for CKAN>2.2