1. modify error code in EventController class
2. and addRandomValue() method.