debug mode version2.1