Modes route bug fixed