fixes #66

cleaned up dependency check
Merge pull request #67 from kvieta/master

fixes #66