Fixed warnings by MSVS