fixed os version for each function