change "if" to "of" to fix small typo