correct set query