remove query ranking.py