do not add condition for distance when radius is nil