removed debugging code from route