fix data length