move duplicated data to a partial with different locals