moved preview_attribute from properties to map config