Hey darkmoon222, i had the same problem. Before u hammer the Ingots into it'S shape u have to press "Z" on the anvil and change what head u want. If u wont do that the shape will always be any style of sword.
tnx :D