fix issues raised during code review

1 job for asm8-record in 10 minutes and 5 seconds (queued for 2 minutes and 17 seconds)
Status Job ID Name Coverage
  Test
passed #19228
build

00:10:05