fixed bug related to options and slide show