bugfix in unit parser

partly revert to 810fadab233afe9afbf3ee31ff352755ed7084eb
and change python string handling to "et" method