fix : undefined variable