Unnecessary creation of array expression