fix windows image source bug