fixed some windows related stuff