attr_accessor malformed, fix