fixed debug compilation