sphere bug fix