fixed debugPrint