fix bug with binding multiple component events