improve debug section style and unify indentation
add other code...