fixed debug directives