improve expression printer