fixed swapping of symbol and element