deprecation message on getRouteName