bugfix SP model