fix the windows compatable