Custom enchant dosen't work in loot table?

iv been trying to make a loot table give me my custom enchanted book plus a few other things, it works but the book i get is an enchanted book without any enchants. my book dose work and is in the game tho
Continue to help post