bugfix duplicate table output