clean up accpac find by sql