fix finding a free enchantment ID