bug in logadd of list fixed