added check attr