switched deploy order