Fixing image errors