fixed for ffdf