fix endpoint resource header field