fixed unbound variable bugs

eom

Signed-off-by: Robert Tipton <tret@tretflix.com>