bug when only olwer range was specified