improved magento image repair