remove useless patches