added more debug.