Bug with add and delete events was fixed