fixed debug logs