fix multiple-grade-entry bug due to event propagation