KAZOO-2346: use LC instead of lists:foldl