fixed the getwherestatement and serialized object values