fix some of the issues in #4807, arrays of Complex{T<:Real}