fix typo. rename "rec" to "record".