remove useless slides