fixes to finally get supervisor behaving