repair some function return value connected client