Fixing existing route detection