fixed basket query