fixed loading or routes on winservice, thanks Stephen Tanner