remove unnecessary query param from find function