Small OS check fix