Fix return value of supervisor