fixed broadcasting bug