fixing curl command