emit_signal fix