fix prev & next