fix unbound variable horkation on ubuntu