fixed to initialize a pair of variables to avoid 'Use of uninitialized value ...' messages