fixed bug with quotes screening for db