added range-check to bundled dependencies