Fix eve is undefined