[bugfix] undefined var