fixed #7
Tested with WordPress 3.7
Merge pull request #8 from mustafauysal/master

fixed #7