fix fatal when using routing override