add support of data_mapper 1.2.0