fix a small typo in emitting an error via fatal