fixed bug with when adding criteria fields larger than varchar(200)