Fix 23 - closeFunc not defined