event nil fix