limit global variable