fixing id in curl call