throw exception if global already set