cleanup
habtm for metals