stronger check on module
Merge pull request #75 from shaqq/master

stronger check on module