reformat case type meta
move case type meta to header