fixed closure compiler warnings