remove debug directives