change service.isActive to service.active