fixed bug in attr_accessor for guild