fixed data lenth issue