Fix crash in Fathom template