RANDOM BLOCK GIVES UCRAFTABLE POTION

So with the help of some members of this server I made a datapack but when i get potions randomly it gives me uncraftable potions same for ench books fix?
Continue to help post