check class operate scope