Fixed settings of depenging on OS