headers option fix