Fix dependency for submachine