corrected a few things about get case in range