fix ios 5 routes