next & prev link bug fixed