Removing the lasterror, checking on the events.