fix the https post error