fix problem in array.c