modify variable postion