deps, err handling