fold command prints interval keys correctly