save canonical form of data