fixed segfault in spherical.create