trying to fix the POST request