bugfix: wrong usage of CURLs POST fields