remove an unnecessary temp image