change the wordlocation cacualtion