fix attributes mismatch
documentation fixes