restructured detection & refined debug screen