swap margin properties.