style guide fixes
typo
use validate_re instead if, remove one typo
Merge pull request #2 from Phil-Friderici/style_fixes

Thanks for help