replace elements numbers with elementbase fields