remove platform attribute.