1314: fixed search for dependencies