fix headers into post