check if dependencies array exist