Method to remove header