add missing var (invalid declaration of globals)