add DEBUG into decouple