fixes #66

cleaned up dependency check