fix bugs about os detection