Fix debug code not deleted