fixbug: sum(float4) cannot be handled well