range error fix
Merge pull request #2483 from devoncarew/devoncarew_fix_range_error

range error fix