Remove redundant attr