fix in supervisor controller factory