remove unused param to DB query