KAZOO-549: remove unused vars and update record field name