* fix use of undefined var on line 39