image preview fix

This update should correct bug with image peview on non-english systems