fix deploy order