removed checking data length