now the events are working properly. some bugs while processing events occured...