remove slave def