added removeCustomHeader