fixed array typedef crash