fixing some issues with how enchantment generation was handled