fix headers regexp