fixing negative SFS