Some fix on stack-array