little fix on attribute mapper