Fixed argc verification in wmp

This refers to Issue #12. 

Next time i will only do pull request instead of both pull request and issue sorry about that.