fix for supervisor