Change main layout to table