fix wrong code path

fix wrong code path of ebook/code