fixed bug (signal connected was not emitted)