fix spacing in code segment for types and variables