bug in dependencies validation; added documentation