Correct FNAME/ENDFN issue fname never transitions to endfn