Fixed the multiple event fire problems.