Fix options during page referesh