important fix for supervisor