fix for minification by closure compiler