fix url_for for EC