bugfix

clear ranges