Finally fixed debug log :/