fix for windows imaging