remove GM command, remove gm-attributes from data when writing.