clean up closure calling