Remove unnecessary List.ofSeq

Corrected formatting