prevent query with @ triggering both routes