modifying query field