fix redundant attribute