prev and next works again