problems with relink fixed

bad naming of variable for expension settings