add serialization to compiler, test failed...