fixing (again) the code to avoid the chef daemon