small fix on spherical coordinates