fixed sfd generation