either fixed or created an off by one error