fixed #52 by removing  from closure