change getHeaders to getHeader