set debug flag cleaner