change tab to table layout