table print bug fixed