fixe local/global variables