send headers, tidy