fixed routing and compare