changed type of os detection