submit target when adding queries