check legacy formats for code correctness