function headers now ok