hack to make it work with the civitatis api