fix undefined var
update fwd client