Correcting scoped attribute