update and fixed debug section