fix ditto where with @SQL: