truncated length issue resolved