Fixed typo

Changed fn to defn