switch view button fix