fixed #3647  fixes ComAttribute warning.