fix to table/list toggle