fix for multiple OSs