add event problem fixed