fix cap restart. fix deploy url