fix data formatting issue