fixed debug log error