Bugfix: needed c.uri_for around api call