added routes validation