Fixing global variables in evolugrid