Function storeBadEvents removed