Global vars fix

Added global vars in `mvc_dispatch`