made db->quote return a value