fix data format bug