clean up range