temp fix to the mysterious "error adding image to list" error on windows