Fix null exception when bad event