Fix format for origin data