Substituent effects on the mechanism changeover in a multi-pathway reaction: a model for the behavior of biological system?