fix for passing variables by reference
MySQL quotation