merge request headers correctly