fix some attributes