fix Event Controller bug