silly if else statement
Merge pull request #166 from kevinzurek/fix-issue161

silly if else statement