fixed for multiple MERT runs with global context