[PLAT-4748] fix for array length mismatch issue