fixing events empty