upd error handling in dep check, closes #190