making route resolves minified safe