GV: better initialization of variables to avoid E_WARNING errors.