Renamed events correctly, and fixed releasing object