removed group by clause in topX