fixed supervisor def