multi global fix for #152