Fix a minor bug in fsg