fix domain data mapping for the write side