fixes range; #4