fix backwards navigation issue