remove generated code's metadata