minime image creation fix