Fixed a number i forgot to decrement in template