fix return of defVar