fix attr_accessor typo