#2347: fix bad attribute mapping