bugs fixs on book/index and markdown preview