fix the curl data string (expand pass variable)