fixed attr_accessible for domain