Put the `+1` within the `htmlspecialchars`. Right now, you're converting an int to a string, then back to an int, then back to string.