support legacy urls