remove surplus case jpeg