emit_signal fixed