adding debug in routes