Fixed Win9x compatibility