fixed debug prints