bug fix for windows 64