clsses scope fixed