Fix initialization order of Type (better fix of windows problem)
Typo