remove unused query