fixed sphere bug