fixed debug monitor