fixed next and previous

*next and previous no longer use ++ or --