fixed setting of accept header