fixed creating event when lack of resources