fix data representation