Fixed bug of check operating system.