Removing useless slides