viewmap button fix