resolving routes error