fixing available ranges, continued