fix prior next