Removes old debug flag