a little antiflogging cleanup