fixed some VS complaints