fixed debug log