image plugin fix