fix headers in SQLTABLE to handle quoted entities