fixed debug