prepare join to master