fix possible typo: undefined variable $head