fix off by one error

removal of the off by one error...