Fixed 'Use of uninitialized value  in scalar chomp'