fixed inapropiate use of execution quotes in SQL