change platforms property to a string