[*] fix error when nil in array type