fixed problem in SF model