fix inconsistent attribute key