previous button fix