fix instance paths