Fix issue with recording which section
Fix id error