Missing int() around hidden variables