strip the sqls