change broken references