changed order of move and set path