bugfix: expensive list concatenation changed to string concatenation