properly get dependencies

Issue #55