fixed typo with object attribute