Fixed some debug output