fix for windows platform