Fix call of "getOs()" and format code/files