Fix image dump