fix address query