fixed failure when array shape is specified using tuple values of None