fixing bug with listeners
fixing bug with eventMatching by string not working