Fix sending of post params