11_5 platform independent (fixed win-bug)