FIX: removing unwanted quote in the SQL statement