Fix small typo s/of/if/