replaced templatestring token with head,middle,tail and changed parser, runtime, but a bugfix is still open.