Fixed dependecies checking