fix bug sending inclusive as int