fix some minor things in get_radius