Fix "unbound variable $1" warning