fixed some supervision bugs