fix mismatched attr names