making closure compiler a little more resilient