set default value of cattr_accessor correctly