patch for bug checking lnux version