Query all working with fragment