read data-placement attribute and change offset calculation #3