Fixed small bugs with sphintdata modifications