Added more debug info, and fix routing