moving doc into the correct location