fix for supervisor 2