get atom types right with multiple bodies