map unbalanced reactions bug fixed