Fixed error on new event