Fixed dependencies

Resolved #477