remove bad image