complain if index[] on non-array port