BUGFIX: undefined var