critical error in routes