merge attrs