Why not change this line to: `if (spacing && spacing > 0) {`.