Fix issues in sz array