add some debugging for routes