replacing instead of accumulating of tags in taglist (fixes possible buffer overflow...