set record flag